﻿using System.ComponentModel.DataAnnotations;

namespace NK.Mvc3.Models
{
    public class Statistics
    {
        [Key()]
        public int ProductInfoID { get; set; }

        public decimal Input { get; set; }

        public decimal Output { get; set; }

        public decimal Total { get { return Input - Output; }}

        public virtual ProductInfo ProductInfo { get; set; }
    }
}